<?php

namespace YouBaoLian\Application\Request;

use YouBaoLian\Application\Response\VehicleRevokeResponse;

class VehicleRevokeRequest extends Request
{

    /**
     * 报价配置ID
     * @var int $configId
     */
    private $configId = 0;

    /**
     * 报价单ID
     * @var int $priceItemId
     */
    private $priceItemId = 0;

    protected $method = 'iebcVehicle.repealDocument';

    protected $response = VehicleRevokeResponse::class;

    public function getBizContent(): array
    {
        return [
            'configId' => $this->configId,
            'priceItemId' => $this->priceItemId,
        ];
    }

    /**
     * @param int $configId
     */
    public function setConfigId(int $configId): void
    {
        $this->configId = $configId;
    }

    /**
     * @param int $priceItemId
     */
    public function setPriceItemId(int $priceItemId): void
    {
        $this->priceItemId = $priceItemId;
    }

}
